import sys
sys.path.append('../')

from testenv import *
from hdc import Hdc
from uitest import UITest
from datetime import datetime

def test():
    dump_layout = UITest.DumpLayout(Hdc(), "")
    dump_layout.dump()
    dump_layout.dump_recv(f"layout_{datetime.now().strftime('%Y%m%d%H%M%S')}.json")
    dump_layout.clear()

if __name__ == "__main__":
    test()